<template>
	<view class="safety-wrap">
		<view class="topVue">
			<view class="status"></view>
			<view class="navVue">
				<image src="../../static/imgs/back.png" style="width: 36rpx; height: 36rpx;" @click="backFun"></image>
				<view class="nav-title">{{$t("站内公告")}}</view>
				<view style="width: 36rpx; height: 36rpx;"></view>	
			</view>
		</view>
		
		<view class="place"></view>
		<view class="login-pwd enter" @click="toLoginPwd()">{{$t('登录密码')}}</view>
		<view class="business-pwd enter" @click="toTransactionPwd()">{{$t('交易密码')}}</view>
	</view>
</template>

<script>
	export default {

		data() {
			return {}
		},

		methods: {
			toLoginPwd() {
				uni.navigateTo({
					url: "/pages/set/login-password",
				});
			},
			toTransactionPwd() {
				uni.navigateTo({
					url: "/pages/set/transaction-password",
				});
			}
		}
	}
</script>

<style lang="scss">
	.safety-wrap {
		width: 100%;
		height: 100%;
		background: url("../../static/imgs/bg.png") no-repeat;
		background-size: 100% 100%;
		box-sizing: border-box;
		position: fixed;
		
		.place {
			height: calc(var(--status-bar-height) + 92rpx);
		}
		
		.topVue {
			width: 100%;
			position: absolute;
			left: 0;
			top: 0;
			z-index: 99;
		
			.status {
				width: 100%;
				height: var(--status-bar-height);
			}
		
			.navVue {
				width: 100%;
				height: 92rpx;
				background: linear-gradient(to right, #FFFBFF, #FFE7F4);
				display: flex;
				justify-content: space-between;
				align-items: center;
				box-sizing: border-box;
				padding: 0 30rpx;
		
				.nav-title {
					width: 420rpx;
					height: 92rpx;
					font-size: 36rpx;
					color: #04094C;
					text-align: center;
					line-height: 92rpx;
				}
			}
		}

		.enter {
			width: 690rpx;
			height: 90rpx;
			line-height: 90rpx;
			background:#fff;
			border-radius: 20rpx;
			margin-bottom: 15rpx;
			box-sizing: border-box;
			padding: 0 25rpx;
			font-size: $uni-font-size-32;
			font-family: PingFang SC;
			font-weight: 400;
			color: #333;
			margin: 30rpx auto ;
		}
	}
</style>